<template>
	<view class="control">
		<view class="top">
			<image mode="widthFix" src="https://jiangsudiantuo2022.oss-cn-hangzhou.aliyuncs.com/img/70db2f68e8d163e6444e0d6f640204f2c99c1c01.png"></image>
			<view class="icon" @click="guanbi">
				<u-icon name="close-circle-fill" color="#FFFFFF" size="50" ></u-icon>
			</view>
		</view>
		<view class="info">支付失败~</view>
		<view class="flex-center">
			<view class="btn" >重新支付</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
			this.guanbi()
		},
		methods: {
			guanbi(){
				setTimeout(() => {
					uni.reLaunch({
						url:'/pages/consumption-code/consumption-code'
					})
				}, 1000)
				
			},
		}
	}
</script>

<style lang="scss" scoped>
	.control{
		width: 100%;
		height: 100vh;
		.top{
			position: relative;
			image{
				width: 100%;
				margin-top: -22%;
			}
			.icon{
				position: absolute;
				left: 0;
				right: 0;
				top: -50%;
				bottom: 0;
				margin: auto;
				height: 100rpx;
				width: 100rpx;
			}
		}
		.info{
			font-size: 30rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: #333333;
			margin-top: 30rpx;
			text-align: center;
			margin-bottom: 100rpx;
		}
		.btn{
			background: linear-gradient(0deg, #FC484C, #F72746);
			border-radius: 40rpx;
			font-size: 28rpx;
			font-weight: bold;
			color: #FFFFFF;
			padding: 25rpx 85rpx;
		}
	}
</style>
